<html>
<head>
<script type="text/javascript">
function startTest()
{
    let value = localStorage['reload-policy-delegate'];
    if (!value) {
        localStorage['reload-policy-delegate'] = 1;
        testRunner.dumpAsText();
        testRunner.queueReload();
    } else {
        document.querySelector('span').textContent =
            `navigation type is ${window.performance.navigation.type},
             expected (reload) is ${window.PerformanceNavigation.TYPE_RELOAD}`;
    }
}
</script>
</head>
<body onload="startTest()">
<p>Test to make sure that reloads get reload navigation type.</p>
<span></span>
</body>
</html>
